﻿#region
/*******************************************************************************
** File Name:		    INewsCatalogService.cs
** Creator:		        chao.jiang 
** EMail:               chao.jiang 
** Create date:	        
** Latest Modifier:
** Latest Modify date:
** Description:		    
** Modify History:
**
** Code Review:
**
** Version number:       1.0.0
*********************************************************************************/
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using Phoenix.Entity;
using Phoenix.Service.Model;
using System.Collections;

namespace Phoenix.Service.Contracts
{
    public interface INewsCatalogService
    {
        #region  Auto Generation
        
        System.Int32 AddNewsCatalog(NewsCatalogModel model );

		void UpdateByCatalogID (NewsCatalogModel model );

		void DeleteByCatalogID (System.Int32 catalogID );
		 
        NewsCatalogModel GetByCatalogID (System.Int32 catalogID );
        

		#endregion

        IList<NewsCatalogModel> GetByParentID(System.Int32 parentId);

        Hashtable GetIdNameByParentID(System.Int32 parentId);

    }
}